home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4008 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  882 b 

  1. Path: news.bellglobal.com!stupy
  2. From: stupy@freenet.durham.org (Steve Tupy)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Using own stacks with borlandc
  5. Date: 30 Jan 1996 20:37:47 GMT
  6. Organization: Durham Free-Net
  7. Message-ID: <4elvir$ood@news.bellglobal.com>
  8. References: <4ef339$24q@thor.atcon.com> <4eisl3$9d2@airdmhor.gen.nz>
  9. NNTP-Posting-Host: 204.101.165.17
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. :   Turn off stack overflow checking for a start.. umm.. you can assume ds=ss
  13. : if your own stack is near (ie. short near Stack[1024]).  If you don't use
  14. : near in the declaration (or if you don't use nmalloc()) then turn it off.
  15.  
  16.     Ouch! You would endanger the whole stack checking mechanism in lieu
  17. of altering the stack size? It is easy to turn it off via pragmas whenever
  18. you need to without depriving your whole program of this rather handy
  19. feature, don't you agree?
  20.  
  21. Take care!
  22. --
  23. Steve
  24.